#ifndef MYSLIDER_H
#define MYSLIDER_H

#include <QSlider>
#include<QMouseEvent>
#include<QtMultimedia/QMediaPlayer>
class Player;//头文件不能相互包含，只能这样解决
class mySlider : public QSlider
{
public:
    mySlider(QWidget*);
protected:
    void mousePressEvent(QMouseEvent *ev);

private:
    Player *p;

};

#endif // MYSLIDER_H
